﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Century.Model
{
    public partial class Log
    {
        #region Primitive Properties

        [Key]
        [ScaffoldColumn(true)]
        public int Id { get; set; }

        [Required]
        public System.DateTime Date { get; set; }

        [Required]
        [MaxLength(255)]
        public string Thread { get; set; }

        [Required]
        [MaxLength(50)]
        public string Level { get; set; }

        [Required]
        [MaxLength(255)]
        public string Logger { get; set; }

        [Required]
        public string Message { get; set; }
        public string Exception { get; set; }
        public string ClientIp { get; set; }
        public string HostName { get; set; }

        #endregion
    }
}
